package Bank;

/**
 * @Author admin
 * @Date 2019/3/19 13:46
 *
 * 子类：
 * 继承
 * 新增
 * 重写
 */
public class ConsBank extends Bank {
    double year;
    public ConsBank(){

    }

    public ConsBank(int  money,double rate,double year) {
       /** 调用父类的构造方法*/
        super(money,rate);
        this.year = year;

    }
    @Override
    public double computerInterest(){

    }
}
